<?php


/** ensure this file is being included by a parent file */
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

// based on task, show different toolbar options
	$task = strtolower( HelpDeskRequest::getVar( 'task' ) );
	switch ($task)
	{
		case "define":
			HelpDeskToolbarHtml::defineField();
		  break;
		case 'new':
		case 'edit':
		case 'editA': 
			HelpDeskToolbarHtml::edit();
		  break;
		case 'list':
		default:
			HelpDeskToolbarHtml::defaults();
		  break; 
	}